package com.zxp.pstationapk.util;

import java.io.File;

/**
 * @author: Created by zxp on 2018/5/22.
 * function:检查该文件是否存在
 */

public class CheckFileisExitTool {
    public static boolean check(String strFile) {
        try {
            File f = new File(strFile);
            if (!f.exists()) {
                return false;
            }
        } catch (Exception e) {
            return false;
        }
        return true;
    }
}
